class TextClearAI:
    def __init__(self):
        self.chars_to_remove = ['#', '*', '-','`']

    def remove_special_chars(self, text: str) -> str:
        """去除多行文本中的所有 # * - 字符"""
        if not text:
            return ""

        # 创建转换表
        trans_table = str.maketrans('', '', ''.join(self.chars_to_remove))

        # 应用转换
        cleaned_text = text.translate(trans_table)
        return cleaned_text